home *** CD-ROM | disk | FTP | other *** search
/ Inside Multimedia 1994 April / Inside Multimedia CD-ROM (April 1994).iso / prg / gs / gssource.exe / ANSIHEAD.MAK < prev    next >
Encoding:
Makefile  |  1992-08-24  |  4.3 KB  |  134 lines

  1. #    Copyright (C) 1989, 1990, 1991 Aladdin Enterprises.  All rights reserved.
  2. #    Distributed by Free Software Foundation, Inc.
  3. #
  4. # This file is part of Ghostscript.
  5. #
  6. # Ghostscript is distributed in the hope that it will be useful, but
  7. # WITHOUT ANY WARRANTY.  No author or distributor accepts responsibility
  8. # to anyone for the consequences of using it or for whether it serves any
  9. # particular purpose or works at all, unless he says so in writing.  Refer
  10. # to the Ghostscript General Public License for full details.
  11. #
  12. # Everyone is granted permission to copy, modify and redistribute
  13. # Ghostscript, but only under the conditions described in the Ghostscript
  14. # General Public License.  A copy of this license is supposed to have been
  15. # given to you along with Ghostscript so you can know your rights and
  16. # responsibilities.  It should be in a file named COPYING.  Among other
  17. # things, the copyright notice and this notice must be preserved on all
  18. # copies.
  19.  
  20. # makefile for Ghostscript, Unix/ANSI C/X11 configuration.
  21.  
  22. # ------------------------------- Options ------------------------------- #
  23.  
  24. ####### The following are the only parts of the file you should need to edit.
  25.  
  26. # ------ Generic options ------ #
  27.  
  28. # Define the installation commands and target directories for
  29. # executables and files.  Only relevant to `make install'.
  30.  
  31. INSTALL = install -c
  32. INSTALL_PROGRAM = $(INSTALL) -m 775
  33. INSTALL_DATA = $(INSTALL) -m 664
  34.  
  35. prefix = /usr/local
  36. exec_prefix = $(prefix)
  37. bindir = $(exec_prefix)/bin
  38. datadir = $(prefix)/lib
  39. gsdatadir = $(datadir)/ghostscript
  40.  
  41. # Define the default directory/ies for the runtime
  42. # initialization and font files.  Separate multiple directories with a :.
  43.  
  44. GS_LIB_DEFAULT=$(gsdatadir):$(gsdatadir)/fonts
  45.  
  46. # Define the name of the Ghostscript initialization file.
  47. # (There is no reason to change this.)
  48.  
  49. GS_INIT=gs_init.ps
  50.  
  51. # Choose generic configuration options.
  52.  
  53. # -DDEBUG
  54. #    includes debugging features (-Z switch) in the code.
  55. #      Code runs substantially slower even if no debugging switches
  56. #      are set.
  57. # -DNOPRIVATE
  58. #    makes private (static) procedures and variables public,
  59. #      so they are visible to the debugger and profiler.
  60. #      No execution time or space penalty.
  61.  
  62. GENOPT=
  63.  
  64. # ------ Platform-specific options ------ #
  65.  
  66. # Define the name of the C compiler.  If the standard compiler for your
  67. # platform is ANSI-compatible, leave this line commented out; if not,
  68. # uncomment the line and insert the proper definition.
  69.  
  70. #CC=some_C_compiler
  71.  
  72. # Define the other compilation flags.
  73. # Add -DBSD4_2 for 4.2bsd systems.
  74. # Add -DSYSV for System V or DG/UX.
  75. # Add -DSVR4 (not -DSYSV) for System V release 4.
  76. # The HP 400 seems to want -Aa -w -D_HPUX_SOURCE.
  77. # XCFLAGS can be set from the command line.
  78.  
  79. CFLAGS=-O $(XCFLAGS)
  80.  
  81. # Define platform flags for ld.
  82. # SunOS and some others want -X; Ultrix wants -x.
  83. # SunOS 4.n may need -Bstatic.
  84. # XLDFLAGS can be set from the command line.
  85.  
  86. LDFLAGS=$(XLDFLAGS)
  87.  
  88. # Define any extra libraries to link into the executable.
  89. # (Libraries required by individual drivers are handled automatically.)
  90.  
  91. EXTRALIBS=
  92.  
  93. # Define the include switch(es) for the X11 header files.
  94. # This can be null if handled in some other way (e.g., the files are
  95. # in /usr/include, or the directory is supplied by an environment variable).
  96. # Note that x_.h expects to find the header files in $(XINCLUDE)/X11,
  97. # not in $(XINCLUDE).
  98.  
  99. XINCLUDE=-I/usr/local/X/include
  100.  
  101. # Define the directory/ies for the X11 library files.
  102. # This can be null if these files are in the default linker search path.
  103.  
  104. XLIBDIRS=-L/usr/local/X/lib
  105.  
  106. # ------ Devices and features ------ #
  107.  
  108. # Choose the language feature(s) to include.  See gs.mak for details.
  109.  
  110. FEATURE_DEVS=filter.dev dps.dev level2.dev
  111.  
  112. # Choose the device(s) to include.  See devs.mak for details.
  113.  
  114. DEVICE_DEVS=x11.dev
  115.  
  116. # ---------------------------- End of options --------------------------- #
  117.  
  118. # Define the name of the makefile -- used in dependencies.
  119.  
  120. MAKEFILE=unix-ansi.mak
  121.  
  122. # Define the ANSI-to-K&R dependency (none for ANSI compilers).
  123.  
  124. AK=
  125.  
  126. # Define the compilation rules and flags.
  127.  
  128. CCC=$(CC) $(CCFLAGS) -c
  129.  
  130. # --------------------------- Generic makefile ---------------------------- #
  131.  
  132. # The remainder of the makefile (unixhead.mak, gs.mak, devs.mak, unixtail.mak)
  133. # is generic.  tar_cat concatenates all these together.
  134.